<%@page import="java.util.ArrayList"%>
<%@page import="com.jjong.model.JjongBoardManager"%>
<%@page import="com.jjong.dto.FriendDto"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"%>
<% request.setCharacterEncoding("euc-kr");%>
<% response.setContentType("text/html; charset=euc-kr");%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
	
	<center>
	<table border="0" width="110">
	<col width="40"/><col width="50"/>
	
		<%
		Object obj2= request.getAttribute("friendlist");
		ArrayList<FriendDto> list2 = new ArrayList<FriendDto>();
		list2 = (ArrayList<FriendDto>) obj2;
		
		for(int i=0;i<list2.size();i++){
		FriendDto friqmem = list2.get(i);
		String fupload = config.getServletContext().getRealPath("/upload");
		JjongBoardManager fileManager=new JjongBoardManager();
		
		String dirs="./upload/";
		String fdur= config.getServletContext().getRealPath(dirs);
		
			%>
		<tr>
			<td><img src="<%=dirs%><%=friqmem.getProfileimg()%>"
					width="40" height="40"> 
			</td>
			<td align="center">
				<a href="logincontrol.jsp?command=memfind&mememail=<%=friqmem.getEmail()%>&memseq=<%=friqmem.getMemseq()%>"><%=friqmem.getMembername()%></a> 
				<input type="hidden" name="email2" value=<%=friqmem.getEmail()%>>
			</td>
		</tr>
			<%
		}
			%>
	</table>
	</center>
	
</body>
</html>